﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WPFModel
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Enum)]
    public class TypePropertyAttribute:Attribute
    {
        #region Properties
        public TypeControl Control
        {
            get;
            set;
        }
        #endregion

        #region Constructor
        public TypePropertyAttribute(TypeControl typeCtrl)
        {
            Control = typeCtrl;
        }
        #endregion
    }

    public enum TypeControl
    {
        ComboBoxContol,
        TextBoxControl,
        TextAndListControl,
    }
}
